package com.cirkana.viewer.share;

import com.cirkana.CirkanaException;
import com.cirkana.viewer.share.twitter.TwitterProxy;

public class ServiceController {

	public static IShareServiceProxy getShareServiceProxy(String serviceName) throws CirkanaException {
		if (IShareServiceProxy.SHARE_SERVICE_TWITTER.equals(serviceName))
			return new TwitterProxy();
		throw new CirkanaException();
	}

}
